package com.yisu.auction.ewf.common.ali.entity;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by nichole on 2016/10/22.
 */
public class PeccancyResponse {
    private int showapi_res_code;
    private String showapi_res_error;
    private ResponseBody showapi_res_body;

    public int getShowapi_res_code() {
        return showapi_res_code;
    }

    public void setShowapi_res_code(int showapi_res_code) {
        this.showapi_res_code = showapi_res_code;
    }

    public String getShowapi_res_error() {
        return showapi_res_error;
    }

    public void setShowapi_res_error(String showapi_res_error) {
        this.showapi_res_error = showapi_res_error;
    }

    public ResponseBody getShowapi_res_body() {
        return showapi_res_body;
    }

    public void setShowapi_res_body(ResponseBody showapi_res_body) {
        this.showapi_res_body = showapi_res_body;
    }

    @Override
    public String toString() {
        return "PeccancyResponse{" +
                "showapi_res_code=" + showapi_res_code +
                ", showapi_res_error='" + showapi_res_error + '\'' +
                ", showapi_res_body=" + showapi_res_body +
                '}';
    }


    public static class ResponseBody {
        private int count;
        private String carEngineCode;
        private String carCode;
        private String errorMsg;
        private String msg;
        private String carType;
        private int ret_code;
        private boolean flag;
        private String carNumber;
        private int errorCode;
        private List<PeccancyRecord> records;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getCarEngineCode() {
            return carEngineCode;
        }

        public void setCarEngineCode(String carEngineCode) {
            this.carEngineCode = carEngineCode;
        }

        public String getCarCode() {
            return carCode;
        }

        public void setCarCode(String carCode) {
            this.carCode = carCode;
        }

        public String getErrorMsg() {
            return errorMsg;
        }

        public void setErrorMsg(String errorMsg) {
            this.errorMsg = errorMsg;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getCarType() {
            return carType;
        }

        public void setCarType(String carType) {
            this.carType = carType;
        }

        public int getRet_code() {
            return ret_code;
        }

        public void setRet_code(int ret_code) {
            this.ret_code = ret_code;
        }

        public boolean isFlag() {
            return flag;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }

        public String getCarNumber() {
            return carNumber;
        }

        public void setCarNumber(String carNumber) {
            this.carNumber = carNumber;
        }

        public int getErrorCode() {
            return errorCode;
        }

        public void setErrorCode(int errorCode) {
            this.errorCode = errorCode;
        }

        public List<PeccancyRecord> getRecords() {
            return records;
        }

        public void setRecords(List<PeccancyRecord> records) {
            this.records = records;
        }

        @Override
        public String toString() {
            return "ResponseBody{" +
                    "count=" + count +
                    ", carEngineCode='" + carEngineCode + '\'' +
                    ", carCode='" + carCode + '\'' +
                    ", errorMsg='" + errorMsg + '\'' +
                    ", msg='" + msg + '\'' +
                    ", carType='" + carType + '\'' +
                    ", ret_code=" + ret_code +
                    ", flag=" + flag +
                    ", carNumber='" + carNumber + '\'' +
                    ", errorCode=" + errorCode +
                    ", records=" + records +
                    '}';
        }
    }

    public static class PeccancyRecord {
        private String time;
        private Integer degree;
        private String reason;
        private String address;
        private String department;
        private String cityName;
        private BigDecimal money;
        private String code;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public Integer getDegree() {
            return degree;
        }

        public void setDegree(Integer degree) {
            this.degree = degree;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public BigDecimal getMoney() {
            return money;
        }

        public void setMoney(BigDecimal money) {
            this.money = money;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        @Override
        public String toString() {
            return "PeccancyRecord{" +
                    "time='" + time + '\'' +
                    ", degree=" + degree +
                    ", reason='" + reason + '\'' +
                    ", address='" + address + '\'' +
                    ", department='" + department + '\'' +
                    ", cityName='" + cityName + '\'' +
                    ", money=" + money +
                    ", code='" + code + '\'' +
                    '}';
        }
    }
}
